projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc1bdd2
)
board: sama5d4_xplained: add pda detect call at init time
author
Eugen Hristev
<
[email protected]
>
Tue, 18 Sep 2018 07:35:47 +0000
(10:35 +0300)
committer
Tom Rini
<
[email protected]
>
Sat, 29 Sep 2018 00:22:41 +0000
(20:22 -0400)
Call the PDA detection mechanism at boot time so we can have
the pda environment variable ready for use.
Signed-off-by: Eugen Hristev <
[email protected]
>
board/atmel/sama5d4_xplained/sama5d4_xplained.c
patch
|
blob
|
history
diff --git
a/board/atmel/sama5d4_xplained/sama5d4_xplained.c
b/board/atmel/sama5d4_xplained/sama5d4_xplained.c
index 526c6c7f7012e0a4459c6f1ee726bca9cd1aa6b4..4da64890b350ad8f0ade645760965f753d2fe0a8 100644
(file)
--- a/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
+++ b/
board/atmel/sama5d4_xplained/sama5d4_xplained.c
@@
-17,6
+17,8
@@
DECLARE_GLOBAL_DATA_PTR;
+extern void at91_pda_detect(void);
+
#ifdef CONFIG_NAND_ATMEL
static void sama5d4_xplained_nand_hw_init(void)
{
@@
-71,6
+73,7
@@
static void sama5d4_xplained_usb_hw_init(void)
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)
{
+ at91_pda_detect();
#ifdef CONFIG_DM_VIDEO
at91_video_show_board_info();
#endif